function keys(obj){
  var a = [];
  for(a[a.length] in obj);
  return a;
}
模拟 Object.keys()